|
|
> I did this for a school report on how raytracing works. (I got to pick to
> topic.) CSG and a couple sphere_sweep's, textures all from standard
> includes. Comments?
Just one: don't!
I once tried to explain the class what raytracing was and how it works. They
thought it was boring and far too technical. I couldn't have picked a worse
subject to talk about :(
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
|